//
//  HomeCollectionViewCell.m
//  礼物说
//
//  Created by Marry W. on 16/1/6.
//  Copyright © 2016年 www.lanou39.蓝鸥科技. All rights reserved.
//

#import "HomeCollectionViewCell.h"

@implementation HomeCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.image1 = [[UIImageView alloc] init];
        _image1.backgroundColor = [UIColor blackColor];
        [self.contentView addSubview:_image1];
    }
    return self;
}
- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    _image1.frame = CGRectMake(0, 0, layoutAttributes.size.width, layoutAttributes.size.height);
}
@end
